//
//  DIYDatePickerView.h
//  UcarTest
//
//  Created by 陈曦 on 16/1/19.
//  Copyright © 2016年 chenxi. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^DateTimeSelect) (NSDate *selectDateTime);

@interface DIYDatePickerView : UIView

@property (nonatomic, strong) UIView *bgView;//底部视图

@property (nonatomic, strong) UIButton *bgViewBtn;//底部删除按钮,按下后删除底部视图

@property (nonatomic, strong) UIDatePicker *datePicker;//时间选择器

@property (nonatomic, strong) UILabel *nameTimeShowlabel;//时间名字标签

@property (nonatomic, strong) UILabel *timeShowLabel;//时间显示

@property (nonatomic, strong) UIButton *confirmBtn;//确认键

@property (nonatomic, strong) UIButton *cancelBtn;//取消键

@property (nonatomic, strong) UIView *timePickerBgView;

@property (nonatomic, copy) DateTimeSelect blockDate;


- (void)didFinishSelectedDate:(DateTimeSelect)selectDateTime;













@end
